import request from "@/utils/request";

// 获取城市数据树
export function getAreaTree() {
  return request({
    url: "/area/list/tree",
    method: "get"
  });
}

//获取银行列表

export function getBankList() {
  return request({
    url: "/product/bankList",
    method: "get"
  });
}
//获取行业数据树
export function getIndustryList() {
  return request({
    url: "/industry/list/tree",
    method: "get"
  });
}

// 检查文件是否能下载
export function checkFile(params) {
  return request({
    url: `/aliyun/oss/exist`,
    method: "get",
    params
  });
}
export function getPlayAuth(videoId) {
  return request({
    url: `/vod/playAuth/${videoId}`,
    method: "get"
  });
}
